/*
 * @Author: ygl
 * @Date: 2021-12-03 22:17:33
 * @LastEditors: ygl
 * @LastEditTime: 2021-12-24 10:37:46
 * @Description: file content
 */

const req = require.context('@/assets/icons/svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys()

const re = /\.\/(.*)\.svg/

const icons = requireAll(req).map(i => {
  return i.match(re)[1]
})

export default icons
